package com.imddy.gkrpc.example;

import com.imddy.gkrpc.server.RpcServer;
import com.imddy.gkrpc.server.RpcServerConfig;

public class Server {

	public static void main(String[] args) {
		RpcServer server = new RpcServer(new RpcServerConfig());
		server.registe(CalcService.class, new CalcServiceImpl());
		server.start();
	}
}
